package com.example.moneybook.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.moneybook.pojo.BorrowDto;
import com.example.moneybook.pojo.Borrow;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: 包
 * @Date: 2023/3/1 22:51
 * Description:
 */
@Mapper
public interface BorrowMapper extends BaseMapper<Borrow> {
//    Borrow selectOne(QueryWrapper<BorrowDto> borrowQueryWrapper);
    BorrowDto sumBorrowMoney(String userId, int state);

}
